﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.Windows.Forms;

namespace GUI.UsersControls.Menu
{
    class BoutonSeparateur : Button
    {
        public BoutonSeparateur()
        {
            this.Size = new Size(200, 38);
            this.FlatStyle = FlatStyle.Flat;
            this.Font = new Font("Trebushet MS", 12);
            this.BackColor = Color.FromArgb(34, 34, 34);
            this.ForeColor = Color.White;

            Control splitterLeft = new Control();
            splitterLeft.Location = new System.Drawing.Point(0, 0);
            splitterLeft.Size = new System.Drawing.Size(1, Size.Height);
            splitterLeft.BackColor = Color.FromArgb(79, 79, 79);
            Controls.Add(splitterLeft);

            Control splitterLeft2 = new Control();
            splitterLeft2.Location = new System.Drawing.Point(1, 0);
            splitterLeft2.Size = new System.Drawing.Size(1, Size.Height);
            splitterLeft2.BackColor = Color.FromArgb(37, 37, 37);
            Controls.Add(splitterLeft2);

            Control splitterRight = new Control();
            splitterRight.Location = new System.Drawing.Point(this.Size.Width - 1, 0);
            splitterRight.Size = new System.Drawing.Size(2, Size.Height);
            splitterRight.BackColor = this.BackColor;
            Controls.Add(splitterRight);
        }
    }
}
